home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Audio
/
Patchmix
/
Source
/
TransparentWindow.h
< prev
next >
Wrap
Text File
|
1992-07-31
|
976b
|
29 lines
// TransparentWindow.h
// By Jayson Adams, NeXT Developer Support Team
// You may freely copy, distribute and reuse the code in this example.
// NeXT disclaims any warranty of any kind, expressed or implied, as to its
// fitness for any particular use.
#import <dpsclient/event.h>
#import <objc/Object.h>
@interface TransparentWindow:Object
{
id image, source, previousWindowUnderMouse, animator;
NXSize windowSize;
int iWindow, bgWindow, niWindow, gWindow, igstate, bggstate,
nigstate, imageGstate, ggstate, previousWindowNumUnderMouse,
frames;
NXPoint increment, currentPoint, stoppingPoint, mouseOffset;
}
/* instance methods */
- initForImage:anImage at:(NXPoint *)windowOrigin forView:anObject;
- free;
- image;
- dragFromMouseDown:(NXPoint *)startingPoint mouseOffset:(NXPoint *)offset;
- checkForAcceptWindow:(int)windowNumUnderMouse atPoint:(NXPoint *)point
:(int *)windowUnderMouseChanged :(int *)previousWindowUnderMouseChanged;
@end